import requests
from . import *

class Http:

    async def post(variables, query):
        res = requests.post(
            httpConfig.url,
            json={
                'query': query,
                'variables': variables
            },
            headers=httpConfig.header,
        )
        return res.json()['data']['visionProfileLikePhotoList']
    
http = Http 